package com.ruantong.dingtalk.ding.callback.listener.event;

import com.ruantong.dingtalk.ding.callback.enums.AttendanceEventEnum;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @description:考勤事件
 * @author: jh.chen
 * @time: 2020/11/16 23:16
 */
@Getter
@Setter
public class AttendanceEvent extends ApplicationEvent implements CallbackEvent {

    private AttendanceEventEnum eventEnum;

    public AttendanceEvent(Object source, AttendanceEventEnum eventEnum) {
        super(source);
        this.eventEnum = eventEnum;
    }
}
